
html, body {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column; 
    font-family:"Helvetica Neue","Hiragino Sans","Noto Sans JP",sans-serif;
 display: flex;
}

footer {
    margin-top: auto;
}



/* =========================
   レイアウト
========================= */
/* 先頭divのみ中央揃え（全divにflexすると見出しと表が横並びになる） */
body > div:first-of-type {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.page-title {
  text-align: center;
}
.page-title h1 {
  margin: 0;
  font-size: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 0 #c8c8c8;
}
.page-title p {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.15em;
}

/* 見出し・表の左右余白 */
body > div:nth-of-type(2) {
  padding: 0 32px;
  box-sizing: border-box;
}

/* =========================
nav
========================= */
nav{
 background:#000;
 color:#fff;
 overflow:auto;
}

.nav-header{
 position:sticky;
 top:0;
 background:#000;
 color:#fff;
 font-weight:bold;
 padding:14px 16px;
 border-bottom:1px solid #333;
 z-index:10;
}

nav h1{
 margin:16px;
 font-size:14px;
}

nav details{
 margin:6px 12px;
 background:#111;
 border:1px solid #333;
 border-radius:6px;
}

nav summary{
 padding:8px 10px;
 cursor:pointer;
}

nav summary span{
 font-weight:600;
 color:#fff;
}

nav ul{
 list-style:none;
 margin:0;
 padding:6px 10px 10px 16px;
}

nav li{margin:4px 0}

nav a{
 display:block;
 padding:6px 8px;
 border-radius:4px;
 color:#fff;
 text-decoration:none;
}

nav a:hover{background:#1f2937}

nav a.active{
 background:#2563eb;
}

